home *** CD-ROM | disk | FTP | other *** search
/ Chip 2003 May / CHIPCD200305.iso / game / cat.swf / scripts / frame_5 / PlaceObject2_381_225 / CLIPACTIONRECORD onClipEvent(keyDown).as next >
Encoding:
Text File  |  2003-03-01  |  450 b   |  24 lines

  1. onClipEvent(keyDown){
  2.    if(0 < _root.yuanzhu)
  3.    {
  4.       if(Key.isDown(Key.SPACE))
  5.       {
  6.          if(_root.pause == false)
  7.          {
  8.             if(_root.dajid == true)
  9.             {
  10.                _root.pausem.yuanzhuy--;
  11.                _root.dajid = false;
  12.             }
  13.             this._visible = true;
  14.             this.play();
  15.             x = true;
  16.          }
  17.       }
  18.    }
  19.    else
  20.    {
  21.       _root.yuanzhu = 0;
  22.    }
  23. }
  24.